package com.boot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.boot.entity.Stats;
import com.boot.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户表(User)表数据库访问层
 *
 * @author makejava
 * @since 2023-07-20 18:48:26
 */
@Repository
public interface UserDao extends BaseMapper<User> {

    /**
     * 统计用户中男女的比例
     * @return
     */
    List<Stats> selectUserGender();
}

